home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
More Anime Pin-Up Beauties
/
More Anime Pin-Up Beauties.iso
/
pc
/
east
/
gpx05.dir
/
00197_Script_197
< prev
next >
Wrap
Text File
|
1998-06-22
|
2KB
|
74 lines
-- For NAME
-- ++++++++++++++++++++++++++++++++ initialize of NAME INPUT
on initNAM
global gPathItem
global gNAMcur
cursor 4
put 0 into gNAMcur
aiffSound(2)
chgScene("PL-000", the frame + 1, gPathItem & "AG200")
upDateStage
cursor -1
-- ++++++++++++++++++++++++++++++++ compute CHAR number
on charNum
put the left of sprite clickOn() into L
put the top of sprite clickOn() into T
put (mouseH() - L) / 16 into hBlock
put (mouseV() - T) / 16 into vBlock
put ((vBlock * 16) + hBlock) into vMat
return(vMat)
-- ++++++++++++++++++++++++++++++++ set NAM1..5 from Chars
on setNAM vN
global gNAMcur
if gNAMcur > 7 then
exit
end if
if vN > 79 then
exit
end if
put (the number of cast "NAM1") + gNAMcur into vCnum
put (the number of cast "C01") + vN into vPnum
set the picture of cast vCnum to ( the picture of cast vPnum)
put gNAMcur + 1 into gNAMcur
-- ++++++++++++++++++++++++++++++++ BackSpace (delete)
on delNAM
global gNAMcur
if gNAMcur < 1 then
exit
end if
clrPicture("NAM" & string(gNAMcur))
put gNAMcur - 1 into gNAMcur
-- ++++++++++++++++++++++++++++++++ Clear
on clrNAM
global gNAMcur
cursor 4
repeat while gNAMcur > 0
clrPicture("NAM" & string(gNAMcur))
put gNAMcur - 1 into gNAMcur
end repeat
cursor -1
-- ++++++++++++++++++++++++++++++++ ENT
on okNAM
go to frame "000"